package org.wmq.travelagency02.service;

import org.apache.ibatis.annotations.Param;
import org.wmq.travelagency02.model.Entity.Route;

import java.util.List;
import java.util.Optional;

public interface RouteService {
    Route getById(Long id);

    void save(Route route);

    boolean updateById(Route route);

    boolean removeById(Long id);

    List<Route> list();

    List<Route> page(Long pageNo, Long pageSize);
}
